<template>
  <div class="warp">
   <nav class="nav">
     <div class="header-title">
       <div class="logo-container">
         <h3>Shiqla Mall<small> 欢迎您</small></h3>
       </div>
     </div>
   </nav>
    <div class="body">
      <carousel></carousel>
      <div class="login-content">
        <login></login>
      </div>
    </div>
  </div>
</template>

<script>
  import carousel from './carousel';
  import login from './login';

  export default {
    data() {
      return {
        name: "login"
      }
    },
    components:{
      carousel,
      login
    }
  }
</script>

<style scoped>
  * {
    margin: 0;
    padding: 0;
  }

  .warp {
    width: 1080px;
    margin: 0 auto;
  }

  .header-title{
    background-color: #E4E7ED;
    height: 60px;
  }

  .logo-container{
    padding-top: 20px;
    color: #ba0000;
    font-size: 25px ;
  }
  .body{
    margin-top: 30px;
    position: relative;
  }
  .body .login-content{
    position: absolute;
    top: 5px;
    right: 80px;
    /*height: 443px;*/
    width: 350px;
    background-color: #F2F6FC;
    z-index: 100;
  }
</style>
